package com.itheima.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name="t_comment")
public class Comment {

    @Id
    private String uid;
    @Column(name = "user_uid")
    private String userUid;

    @Column(name = "to_uid")
    private String toUid;

    @Column(name = "to_user_uid")
    private String toUserUid;

    private String content;

    @Column(name = "blog_uid")
    private String blogUid;

    private Integer status;

    @Column(name = "create_time")
    private String createTime;

    @Column(name = "update_time")
    private String updateTime;

    private String source;

    @Column(name = "TYPE")
    private Integer type;

    @Column(name = "first_comment_uid")
    private String firstCommentUid;


}
